home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / share / misc / getopt / getopt-test.bash < prev    next >
Text File  |  2006-04-25  |  122b  |  7 lines

  1. #!/bin/bash
  2. if `getopt -T >/dev/null 2>&1` ; [ $? = 4 ] ; then
  3.   echo "Enhanced getopt(1)"
  4. else
  5.   echo "Old getopt(1)"
  6. fi
  7.